#include"HashTbale.h"
#include"unordered_map.h"
#include"unordered_set.h"
using namespace std;
int main()
{
	int nums[] = { 19,30,5,36,13,20,21,12 };
	lqy::unordered_map<int, int> Hash;
	for (auto x : nums)
	{
		Hash.Insert({ x,x });
	}
	cout << Hash[30] << endl;
	for (auto x : Hash)
	{
		cout << x.first << " " << x.second << endl;
	}
	Hash.Erase(30);
	lqy::unordered_set<int> Hash2;
	for (auto x : nums)
	{
		Hash2.Insert(x);
	}
	cout << Hash[30] << endl;
	for (auto x : Hash2)
	{
		cout << x<< endl;
	}
	Hash.Erase(30);

	return 0;
}